
//模块级变量
let count =0 ;
//构造方法
function Num(){

}
//Num的两个公开方法
Num.prototype.add = () => count++;
Num.prototype.getCount = () => count;

module.exports = Num;

console.log('hello','world');
